package designpattern.factory;

public abstract class Operation {
	public Operation(Double num1,Double num2){
		this.num1=num1;
		this.num2=num2;
	}
	
	
	private Double num1;//数字1
	private Double num2;//数字2
	public Double getNum1() {
		return num1;
	}
	public void setNum1(Double num1) {
		this.num1 = num1;
	}
	public Double getNum2() {
		return num2;
	}
	public void setNum2(Double num2) {
		this.num2 = num2;
	}
	public abstract Double operat();//需要实现的一个方法

	
	
	
	
}
